package com.sumainfor.pc.gmio.fallback.ZfallBack;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.feign.Zfeign.ZpcEpcFeign;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 调用工程部服务
 *
 */
@Component
public class ZpcEpcFallback implements ZpcEpcFeign {

    @Override
    public JsonResult getRepairListFromGmiod(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRepairListFromGmioy(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getRepairListFromGmiow(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoInteHouConInfoList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getNoRepairOrderCount(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getQuarantinedRoomCount(Map<String,Object> params){
        return JsonResult.error("服务其繁忙");
    }

    @Override
    public JsonResult getRepairTracking(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getNoRepairOrderInteger() {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public Map<String, Object> getBillByOrdBilIdMap(String OrdBiId﻿) {
        return new HashMap<>();
    }

    @Override
    public JsonResult getNoacceptance(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public List<Map<String, Object>> getHoDecorateFugjList(String search) {
        return new ArrayList<>();
    }

    @Override
    public List<Map<String, Object>> getFugjRepairList(Map<String, Object> params) {
        return new ArrayList<>();
    }
}
